package com.cndw.kungfu.vo.goodsvo;

/**
 * 套装配置
 * 
 * 
 * @author <a href="mailto:whz-work@163.com">汪洪州</a>
 * 
 * @since 1.0 Create on 2011-6-23
 */
public class GoodsSuitePropVO {

	/**
	 * 加成条件
	 */
	private int conditions;

	/**
	 * 加血
	 */
	private int hp;

	/**
	 * 加蓝
	 */
	private int mp;

	/**
	 * 攻击
	 */
	private int attack;

	/**
	 * 防御
	 */
	private int defense;

	/**
	 * 命中
	 */
	private int hit;

	/**
	 * 暴击
	 */
	private int crit;

	/**
	 * 韧性
	 */
	private int tough;

	/**
	 * 闪避
	 */
	private int dodge;

	/**
	 * 拥有数
	 */
	private int hasCounts;

	/**
	 * 是否激活
	 */
	private boolean actived;

	public int getHp() {
		return hp;
	}

	public void setHp(int hp) {
		this.hp = hp;
	}

	public int getMp() {
		return mp;
	}

	public void setMp(int mp) {
		this.mp = mp;
	}

	public int getAttack() {
		return attack;
	}

	public void setAttack(int attack) {
		this.attack = attack;
	}

	public int getDefense() {
		return defense;
	}

	public void setDefense(int defense) {
		this.defense = defense;
	}

	public int getConditions() {
		return conditions;
	}

	public void setConditions(int conditions) {
		this.conditions = conditions;
	}

	public boolean isActived() {
		actived = getHasCounts() >= getConditions();
		return actived;
	}

	public void setActived(boolean actived) {
		this.actived = actived;
	}

	public int getHasCounts() {
		return hasCounts;
	}

	public void setHasCounts(int hasCounts) {
		this.hasCounts = hasCounts;
	}

	public int getHit() {
		return hit;
	}

	public void setHit(int hit) {
		this.hit = hit;
	}

	public int getCrit() {
		return crit;
	}

	public void setCrit(int crit) {
		this.crit = crit;
	}

	public int getTough() {
		return tough;
	}

	public void setTough(int tough) {
		this.tough = tough;
	}

	public int getDodge() {
		return dodge;
	}

	public void setDodge(int dodge) {
		this.dodge = dodge;
	}

}
